<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE HTML>
<html>
<head>
<title>菜谱列表</title>
<link href="/recipe/Public/ctps_329_qq/css/bootstrap.css" rel="stylesheet" type="text/css" media="all">
<link href="/recipe/Public/ctps_329_qq/css/style.css" rel="stylesheet" type="text/css" media="all" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="Curabitur Responsive web template, Bootstrap Web Templates, Flat Web Templates, Andriod Compatible web template, 
Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyErricsson, Motorola web design" />
<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
 <link rel="stylesheet" href="/recipe/Public/ctps_329_qq/css/flexslider.css" type="text/css" media="screen" />
 <script src="/recipe/Public/ctps_329_qq/js/jquery-1.11.1.min.js"></script>
  <script src="/recipe/Public/ctps_329_qq/js/bootstrap.js"> </script>
  <!---- start-smoth-scrolling---->
<script type="text/javascript" src="/recipe/Public/ctps_329_qq/js/move-top.js"></script>
<script type="text/javascript" src="/recipe/Public/ctps_329_qq/js/easing.js"></script>
 <script type="text/javascript">
		jQuery(document).ready(function($) {
			$(".scroll").click(function(event){		
				event.preventDefault();
				$('html,body').animate({scrollTop:$(this.hash).offset().top},1200);
			});
		});
	</script>
<!---End-smoth-scrolling---->
 
<!---End-smoth-scrolling---->
<style type="text/css">
DIV.jogger { 
PADDING-RIGHT: 2px; PADDING-LEFT: 2px; PADDING-BOTTOM: 2px; MARGIN: 7px;
 PADDING-TOP: 2px; FONT-FAMILY: "Lucida Sans Unicode",
 "Lucida Grande", LucidaGrande, "Lucida Sans", Geneva, Verdana, sans-serif ;text-align: center;
} 
DIV.jogger A { 
PADDING-RIGHT: 0.64em; PADDING-LEFT: 0.64em; PADDING-BOTTOM: 0.43em;
 MARGIN: 2px; COLOR: #fff; PADDING-TOP: 0.5em; 
BACKGROUND-COLOR: #ee4e4e; TEXT-DECORATION: none 
} 
DIV.jogger A:hover { 
PADDING-RIGHT: 0.64em; PADDING-LEFT: 0.64em; PADDING-BOTTOM: 0.43em;
 MARGIN: 2px; COLOR: #fff; PADDING-TOP: 0.5em; BACKGROUND-COLOR: #de1818 
} 
DIV.jogger A:active { 
PADDING-RIGHT: 0.64em; PADDING-LEFT: 0.64em; PADDING-BOTTOM: 0.43em;
 MARGIN: 2px; COLOR: #fff; PADDING-TOP: 0.5em; BACKGROUND-COLOR: #de1818 
} 
DIV.jogger SPAN.current { 
PADDING-RIGHT: 0.64em; PADDING-LEFT: 0.64em; PADDING-BOTTOM: 0.43em;
 MARGIN: 2px; COLOR: #6d643c; PADDING-TOP: 0.5em; BACKGROUND-COLOR: #f6efcc 
} 
DIV.jogger SPAN.disabled { 
DISPLAY: none 
} 
</style>

</head>
<body>
		<!-- start-header section-->
			<div class="header">
				<div class="container">
				     <div class="top-header">
						<div class="phone">
							<ul>
								<li><span class="glyphicon glyphicon-earphone" aria-hidden="true"></span></li>
								<li><p>欢迎<?php echo ($food2['telephone']); ?>用户</p></li>
							</ul>
						</div>
						<div class="logo">
							<h1><a href="<?php echo U('Food/foodlist');?>">ICOOK</a></h1>
						</div>
						<div class="header-right">
						<div class="login">
							<a href="<?php echo U('Users/login');?>">登录</a>
						</div>
						<div class="cart box_1">
							<a href="<?php echo U('Users/logout');?>">
								<img src="/recipe/Public/Uploads/images/注销.png" alt=""></h3>
							</a>	
							
							<div class="clearfix"> </div>
						</div>
				</div>
		
						<div class="clearfix"></div>
					</div>	
				</div>
			</div>
		<!-- end-header section-->
		<!--start-banner-->
			<div class="banner ban1">
				<div class="container">
					<div class="top-menu">
					<span class="menu"><img src="images/nav.png" alt=""/> </span>
						<ul>
							<li><a  href="<?php echo U('Index/index');?>" class="active">首页</a></li>
							<li><a  href="<?php echo U('Users/about');?>">关于我们</a></li>
							<li><a  href="<?php echo U('Food/foodlist');?>">菜谱列表</a></li>
							<li><a  href="<?php echo U('Food/release');?>">发布菜谱</a></li>
							<li><a  href="<?php echo U('Users/userinfo');?>">个人中心</a></li>
					
						</ul>
					
					</div>
					</div>	
					
				

			</div>
		<!-- 搜索 -->
		<div>
			
			<form  method="post"  class="form-horizontal" action="<?php echo U('foodlist');?>"  enctype="multipart/form-data" >
                   <li style="list-style:none; float:left">
                   <input style="width:200px; height:35px; border:1px solid #FF8C00; 
                   font-size:0.9em; color:#FF8C00; outline: none;border-radius:5px;" name="name" type="text" placeholder="请输入区域">
                   <li style="list-style:none; float:left"><input class="btn btn-info" style="background-color:#FF8C00" type="submit" value ="搜索" >
                  </form> 

		</div>

			<div class="content">
						<div class="events-section">
						<div class="container">
							<h3>菜谱列表</h3>
							<?php if(is_array($food)): $i = 0; $__LIST__ = $food;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><div class="events-grids">

						<div class="events1">

 
						<div class="col-md-4 event-grid" >
						<a href="#" class="mask">
				     <img src="/recipe/Public/Uploads/foodphoto/<?php echo ($vo["photo"]); ?>" class="img-responsive zoom-img" alt="" style="width:370px;height:180px;"></a>
					 <h4><?php echo ($vo["name"]); ?></h4>
					 <p><?php echo ($vo["jianjie"]); ?></p>
						<a href="/recipe/Home/Food/detail/id/<?php echo ($vo["fid"]); ?>" class="button">查看详情</a>
						</div><?php endforeach; endif; else: echo "" ;endif; ?>
            	<!-- 分页 -->
  <div class="jogger col-md-10   col-sm-offset-3 col-md-offset-4 col-xs-offset-2" > 
      <?php echo ($link); ?>
      
    </div>

						<div class="clearfix"></div>
						</div>
						<div class="clearfix"></div>
						</div>
						</div>
						</div>

		<div class="specials-section">
				<div class="container">
					<div class="col-md-3 specials">
					<h3>关于我们</h3>
					<p>为商家提供网上餐厅、高效订单管理、精准会员营销、优惠促销推荐、精准便捷财务统计等餐饮智能化管理营销服务。特面向社会征集广告语，要求作品涵盖产品功能，简单易记；设计出的作品要能传递产品特性</p>
				</div>
				<div class="col-md-3 specials1">
				<h3>网站特色</h3>
				<ul>
					<li><a href="#">步骤简单</a></li>
					<li><a href="#">内容清晰</a></li>
					<li><a href="#">食材普遍</a></li>
					<li><a href="#">盛世美味</a></li>
				</ul>
				</div>
			<div class="col-md-3 specials1">
			<h3>网站须知</h3>
			<ul>
				<li><a href="#">未经允许，不得转载</a></li>
				<li><a href="#">绿色空间，健康发言</a></li>
				<li><a href="#">未经允许，不得转载</a></li>
				<li><a href="#">绿色空间，健康发言</a></li>
			</ul>
			</div>
			<div class="col-md-3 specials1">
			<h3>联系我</h3>
			<ul>
				<li><a href="#">QQ：1162200314</a></li>
				<li><a href="#">微信：15382290458</a></li>
				<li><a href="#">电话：15382290458</a></li>
			
			</ul>
			</div>
			<div class="clearfix"></div>
			</div>
			</div>
	</div>
	<div class="footer-section">
					<div class="container">
						<div class="footer-top">
						<p>icook 版权归属于 14110100436 魏莹悦</p>
					</div>
					<script type="text/javascript">
						$(document).ready(function() {
							/*
							var defaults = {
					  			containerID: 'toTop', // fading element id
								containerHoverID: 'toTopHover', // fading element hover id
								scrollSpeed: 1200,
								easingType: 'linear' 
					 		};
							*/
							
							$().UItoTop({ easingType: 'easeOutQuart' });
							
						});
					</script>
				<a href="#" id="toTop" style="display: block;"> <span id="toTopHover" style="opacity: 1;"> </span></a>


					</div>
					</div>


	 
	
</body>
</html>